package com.andy.beef.main.bean

import com.andy.beef.main.bean.BizAttachBean
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.google.gson.annotations.SerializedName
import java.io.Serializable

/**
 *作者:wuwenliang
 *创建时间:2021/3/15 10:50
 *描述:
 */
open class CattleInfoBean : Serializable, MultiItemEntity {

    @SerializedName("id")
    var cattleId: Long = 0//牛Id

    var cattleNo: String = ""//系统识别号

    var cattleEarTagNo: String = ""//牛编号

    var cattleFenceId: Long? = null//牛栏ID

    var cattleFenceName: String = ""//牛栏名称

    var currentChildTime: Int? = null//当前胎次

    var entryDate: Long = 0//入场时间

    var cowshedId: Long = 0

    var cowshedName: String = ""//牛舍名稱

    var fatherNo: String = ""//父编号

    var motherNo: String = ""//母编号

    var feedType: Int? = null//饲养类型

    var feedTypeDesc: String = ""//饲养类型描述

    var gender: String = ""//性别

    var genderDesc: String = ""//性别描述

    var inGroupStatus: Int? = null //在群状态(1.在群，2.离群)

    var inGroupStatusDesc: String = ""//在群状态描述

    var insureNo: String = ""//保险号

    var nucleusGroupStatus: Int? = null//是否核心种群

    var rfidCode: String = ""//电子耳标(rfidCode)

    var usedNo: String = ""//曾用牛号

    var variety: String = ""//品种

    var varietyDesc: String = ""//品种描述

    var birthWeight: Double? = null//重量

    var birthday: Long = 0//出生日期

    var attachOutputs = mutableListOf<BizAttachBean>()//图片数据

    var viewType = 0

    var currentWeight: Double? = null//当前重量

    var initWeight: Double? = null//初始重量(kg)

    var monthAge: Int = 0

    var purchaseOrderNo: String = ""

    var skuCode: String = ""

    var cattleEntryId: Long = 0L

    var cattleEntryInfoId: Long = 0L

    var breedStatus: Int = 0

    override val itemType: Int
        get() = viewType

}